#include "vertex.h"
#include "../matrix/matrix.h"

void vertex3f_to_matrix(VERTEX_3F v, MATRIX* m){
  matrix_init(m, 1, 4);
  m->data[0][0] = v.x;
  m->data[0][1] = v.y;
  m->data[0][2] = v.z;
  m->data[0][3] = 1;
}
